<%@ page import="forum.Antwort" %>



<div class="fieldcontain ${hasErrors(bean: antwortInstance, field: 'antwort', 'error')} ">
	<label for="antwort">
		<g:message code="antwort.antwort.label" default="Antwort" />
		
	</label>
	<g:textArea name="antwort" value="${antwortInstance?.antwort}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: antwortInstance, field: 'benutzer', 'error')} required">
	<label for="benutzer">
		<g:message code="antwort.benutzer.label" default="Benutzer" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="benutzer" name="benutzer.id" from="${forum.Benutzer.list()}" optionKey="id" required="" value="${antwortInstance?.benutzer?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: antwortInstance, field: 'frage', 'error')} required">
	<label for="frage">
		<g:message code="antwort.frage.label" default="Frage" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="frage" name="frage.id" from="${forum.Frage.list()}" optionKey="id" required="" value="${antwortInstance?.frage?.id}" class="many-to-one"/>
</div>

